package com.third.base.ali;

/**
 * 支付宝常量配置
 */
public class AlipayConstants {


    /*-------------------------支付宝支付的请求路径固定，根据传递的method参数来区分请求的类型---------------------------------*/
    public static final String PRODUCT_DOMAIN = "https://openapi.alipay.com/gateway.do";//生产支付宝网关（固定）
    public static final String SNADBOX_DOMAIN = "https://openapi.alipaydev.com/gateway.do";//沙箱支付宝网关（固定）

    /*---------------------------支付宝支付:当面付、app支付、手机网站支付、电脑网站支付、花呗分期-------------------------*/
    
    
   /* ------------------------------------------------请求method--------------------------------------------------------*/
    public static final String ALIPAY_TRADE_PAY= "alipay.trade.pay";//统一收单交易支付接口（扫描用户二维码支付、声波付）
    public static final String ALIPAY_TRADE_APP_PAY= "alipay.trade.app.pay";//统一收单交易支付接口（手机app支付）
    public static final String ALIPAY_TRADE_WAP_PAY= "alipay.trade.wap.pay";//统一收单交易支付接口（手机网站支付）
    public static final String ALIPAY_TRADE_PAGE_PAY= "alipay.trade.page.pay";//统一收单交易支付接口（电脑网站支付）
    public static final String ALIPAY_TRADE_PRECREATE= "alipay.trade.precreate";//统一收单线下交易预创建（商户生成二维码给用户扫描支付）
    
    //------------------------------------------支付公用接口----------------------------------
    public static final String ALIPAY_TRADE_QUERY= "alipay.trade.query";//统一收单线下交易查询
    public static final String ALIPAY_TRADE_REFUND= "alipay.trade.refund";//统一收单交易退款接口
    public static final String ALIPAY_TRADE_CANCEL= "alipay.trade.cancel";//统一收单交易撤销接口
    public static final String ALIPAY_TRADE_CREATE= "alipay.trade.create";//统一收单交易创建接口
    public static final String ALIPAY_TRADE_FASTPAY_REFUND_QUERY= "alipay.trade.fastpay.refund.query";//统一收单交易退款查询
    public static final String ALIPAY_TRADE_CLOSE= "alipay.trade.close";//统一收单交易关闭接口
    public static final String ALIPAY_TRADE_ORDER_SETTLE= "alipay.trade.order.settle";//统一收单交易结算接口
    public static final String ALIPAY_TRADE_DOWNLOAD= "alipay.data.dataservice.bill.downloadurl.query";//查询对账单下载地址



    
    
    
    /*---------------------------微信支付工具：代金券或立减优惠、现金红包、企业付款-------------------------*/
    
    public static final String SEND_COUPON = "/mmpaymkttransfers/send_coupon";//发放代金券
    public static final String QUERY_COUPON_STOCK= "mmpaymkttransfers/query_coupon_stock";//查询代金券批次
    public static final String QUERYCOUPONSINFO= "/mmpaymkttransfers/querycouponsinfo";//查询代金券信息
    
    public static final String SENDREDPACK= "/mmpaymkttransfers/sendredpack";//发放普通红包
    public static final String SENDGROUPREDPACK= "/mmpaymkttransfers/sendgroupredpack";//发放裂变红包
    public static final String GETHBINFO= "/mmpaymkttransfers/gethbinfo";//查询红包记录
    
    public static final String TRANSFERS= "mmpaymkttransfers/promotion/transfers";//企业付款
    public static final String GETTRANSFERINFO= "/mmpaymkttransfers/gettransferinfo";//查询企业付款
    
    

}

